package com.morningyet.bug.log4j2.attacker.server;

import com.morningyet.bug.log4j2.attacker.hacker.Attacker;

public abstract class SimpleServer {

    /**
     * 获取Attacker的字节码文件路径
     * @return Attacker.class文件路径
     */
    protected static String getAttackerBytecodeFilePath() {
        String canonicalName = Attacker.class.getCanonicalName();
        return canonicalName.replaceAll("\\.", "/").concat(".class");
    }

}
